<div class="action-dialog-model-fixed-body">
<div class="detailsBox detaiTab  detaiTab1">
	<div class="openBox" style="">
	<h3 class="mt20 action-open-button xlh3title">
	<span class="xiala"></span>
	<span style="color: #049ac2;">贷款申请节点状态</span>
	</h3>
	<#assign custType=loanapply.wfType />
	<!-- 贷前状态图 begin -->
	<#if loanapply.loanType=='BK'>
	<div class="action-ajax-load"
		data-url="<@url value='/wftypeStatus/bk/beforeStatus?loanapplyNo=${loanapply.loanapplyNo}'/>"></div>
	<#else>
	<div class="action-ajax-load"
		data-url="<@url value='/wftypeStatus/oth/beforeStatus?loanapplyNo=${loanapply.loanapplyNo}'/>"></div>
	</#if>
	<!-- 贷前状态图  end  -->
	</div>
	<!-- 作废信息 start -->
	<#if custType == "T">
		<div class="action-ajax-load"
			data-url="<@url value='/rbadloan/cancleDetail?loanapplyNo=${loanapply.loanapplyNo}' />"></div>
	</#if>
	
     <div class="detailsBox">
	 <div class="openBox">
	 <!-- 贷款要素 begin -->
	 <h3><i class="jtIco"></i>贷款要素
     </h3>
		<div class="action-ajax-load" data-url="/rback/l_i_common?loanapplyNo=${loanapply.loanapplyNo}"></div>	
     <!-- 贷款要素  end -->
     </div>
    </div>
    
	 <!-- 借款人信息  begin -->
		<div class="openBox">
			<h3 class="mt20">
				<i class="jtIco1"></i>借款人基本信息 
			</h3>
			<div class="action-ajax-load"
				data-url="<@url value='/detail/queryLoanUser?loanapplyNo=${loanapply.loanapplyNo}&loanId=${loanapply.loanId}'/>"
				data-ajax-wait-img="<@cdn value='img.wait'/>" ></div>
		</div>
		<!-- 借款人信息  end -->
    
    <#if loanSorpouseUser! >
    <div class="openBox">
			<h3 class="mt20">
				<i class="jtIco1"></i>借款人配偶基本信息
			</h3>
			<div class="action-ajax-load-show"
				data-url="<@url value='/detail/querySpouseUser?loanapplyNo=${loanapply.loanapplyNo}&loanId=${loanapply.loanId}'/>"
				data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div>
		</div>
    </#if>
	
	<!--
	 <div class="openBox">	
	   <h3><i class="jtIco1"></i>夫妻双方资产负债情况
	   <@permission permissionName="editUserAssetsInfo">
	    <a class="action-ajax-btn fr edit btn_blue" href="/tot_assets/tot_assets_op?loanapplyId=${loanapply.loanapplyNo}" > 编辑 </a> 
	   </@permission>
	   </h3>
	   <div class="detailTab">
             <div id="oa_tot_assets"  class="action-ajax-load" data-url="<@url value='/tot_assets/tot_assets_show?loanapplyId=${loanapply.loanapplyNo}' />" data-ajax-wait-img="<@cdn value='img.wait'/>" ></div>
	   </div> 
   </div>
			
  <div class="openBox">	
	   <h3><i class="jtIco1"></i>夫妻双方房产信息
	   <@permission permissionName="addUserHouseInfo">
	    <a class="action-ajax-btn fr edit btn_blue" href="/house/house_op?loanapplyId=${loanapply.loanapplyNo}" target="_self">新增</a>  
	   </@permission>
	   </h3>
	   <div class="detailTab">
             <div id="o2o_house"  class="action-ajax-load" data-url="/house/house_list?loanapplyId=${loanapply.loanapplyNo}" data-ajax-wait-img="<@cdn value='img.wait'/>" ></div>
	   </div> 
  </div>   
   
   
    <div class="openBox">	
	   <h3><i class="jtIco1"></i> 夫妻双方车产信息
	   <@permission permissionName="addUserCarInfo">
	    <a class="action-ajax-btn fr edit btn_blue" href="/car/car_op?loanapplyId=${loanapply.loanapplyNo}" target="_self">新增</a>  
	   </@permission>
	   </h3>
	   <div class="detailTab">
             <div id="o2o_car"  class="action-ajax-load" data-url="/car/car_list?loanapplyId=${loanapply.loanapplyNo}" data-ajax-wait-img="<@cdn value='img.wait'/>" ></div>
	   </div> 
  </div>
	-->
	
	<!-- 资产信息start -->
		<div class="action-ajax-load" data-url="<@url value='/assetView/view?loanapplyNo=${loanapply.loanapplyNo}'/>"></div>
		<!-- 资产信息end -->
	 <div class="openBox">
        <h3>
            <i class="jtIco1"></i>门店信息
        <@permission permissionName="customerStoreManageAdd">
         <#if custType=="ZF">
		  <a class="action-ajax-btn fr edit btn_blue"
               href="/customer/shop/rest/addPage?loanapplyNo=${loanapply.loanapplyNo}" target="_self">新增</a>
		</#if>
        </@permission>
        </h3>
        <div class="detailTab">
            <div class="action-ajax-load" data-url="<@url value='/customer/shop/list?loanapplyNo=${loanapply.loanapplyNo}'/>" data-ajax-wait-img="<@cdn value='img.wait'/>" >
        </div>
        </div>
    </div>
    
    
    <!-- SD系统交易记录汇总表（数据为近6个月内，自动从SD系统获取) begin -->
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>SD系统交易记录汇总表（数据为近6个月内，自动从SD系统获取实时数据)
		</h3>
		<div class="action-ajax-load-show"
			data-url="<@url value='/getSdData?customerSd=${loanapply.customerCode}&cno=${loanapply.customerNo}' />"
			data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none">
		</div>
	</div>
	<!-- SD系统交易记录汇总表（数据为近6个月内，自动从SD系统获取) end -->
	<!--财务SD数据 begin  -->
	<#if loanapply.wfType!="NEW">
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>财务审核SD信息
		</h3>
		<div class="action-ajax-load-show"
			data-url="<@url value='/detail/queryFinancialSd?loanapplyNo=${loanapply.loanapplyNo}'/>"
			data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none"></div>
	</div>
	</#if>
	<!--财务SD数据 end  -->
	<!-- 财务审核记录 begin -->
	<#if loanapply.wfType!="NEW">
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>财务审核记录
		</h3>
		<div class="action-ajax-load-show"
			data-url="<@url value='/detail/queryFinancialAudit?referId=${loanapply.loanapplyNo}' />"
			data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none">
		</div>
	</div>
	</#if>
	<!-- 财务审核记录 end -->

	<!-- 工作流历史记录 begin -->
	<div class="openBox"><h3 class="mt20 ">审核记录<i class="jtIco1"></i></h3>	
		<div class="action-ajax-load detaiTab" data-url="<@url value='${agreeUrl}' />" style="display: none;" ></div>
   </div>
	<!-- 工作流历史记录 end -->
	<!-- 动态按钮 -->
	<div  id="detailBtnDiv" class=" tac footFixed">
		<#if loanapply.wfType != "T">
		<#if entity.flowStatus == "NEW">	
		<@permission permissionName="loanapplyCXsh">
		<a href="<@url value='/work/startup_finance?loanapplyNo=${loanapply.loanapplyNo}&billCode=${loanapply.billCode}&wfType=${loanapply.wfType}' />"   class="btn_auto_30 btn_blue action-ajax-btn">提交财务审核</a>	
		</@permission>
		</#if>	
		<@permission permissionName="lookAllWorkFllowStatus">
		<a href="<@url value='/process/auditors?orgNo=${loanapply.ltd}' domain='o2o.admin.workflow'/>" class="btn_auto_30 btn_blue" target="_blank" >查看所有流程节点及审核人</a>
		</@permission>
		</#if>	
	</div>

</div>
</div>

